<%@ Page Language="C#" MasterPageFile="~/Demo.master" AutoEventWireup="true" 
CodeFile="ScrollingArea.aspx.cs" Inherits="ScrollingArea" Title="Scrolling Area (Calendar) | DayPilot Pro for ASP.NET WebForms Demo" %>
<%@ Register Assembly="DayPilot" Namespace="DayPilot.Web.Ui" TagPrefix="DayPilot" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    Height:
    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
        <asp:ListItem Value="businesshours">Business hours</asp:ListItem>
        <asp:ListItem Value="fixed">Fixed (200 pixels)</asp:ListItem>
        <asp:ListItem Value="businesshoursnoscrolling">Business hours (no scrolling)</asp:ListItem>
        <asp:ListItem Selected="True" Value="full">Full (no scrolling)</asp:ListItem>
    </asp:DropDownList><br />
    <br />
    <daypilot:daypilotcalendar id="DayPilotCalendar1" runat="server" 
        ViewType="Days" 
        DataColumnField="Column" 
        DataEndField="End" 
        DataSourceID="XmlDataSource1" 
        DataStartField="Start" 
        DataTextField="Name" 
        DataValueField="Id" 
        StartDate="2010-01-01" 
        HeightSpec="Full"
        
        CssClassPrefix="calendar_silver_"
        HourNameBackColor=""
        BorderColor="#A0A0A0"
        CellBorderColor="#A0A0A0"
        EventBorderColor="#505050"
        AllDayEventBorderColor="#a0a0a0"
        
        ></daypilot:daypilotcalendar>
    <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/App_Data/TestingData.xml">
    </asp:XmlDataSource>
</asp:Content>

